package com.iss.springdemo1.di.settter;

public class UserService {

    private UserDAO userDAO;

    public void setUserDAO(UserDAO userDAO) {
        this.userDAO = userDAO;
    }


    public void register(){
        System.out.println("service for user register:");
        this.userDAO.save();
        System.out.println("done");
    }
}
